Port xcrun configuration to GNU/Linux.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Dec 2013 19:14:10 +0000 (11:14 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Dec 2013 19:14:10 +0000 (11:14 -0800)
commitdb67aeed42f01aeb0b5dbebdabfc963e4f23bed9
tree88f00c2a24f96b9128168148f0f00ffa91f4c241
parent237b7f3398434ff739e27ba783efb8cee2344705
Port xcrun configuration to GNU/Linux.

* configure.ac (xcsdkdir): Default to empty.
(XCRUN): Don't require Darwin for xcrun.  Move xcrun checking to
just before AM_INIT_AUTOMAKE, to make the dependency between it
and automake clearer.
(CC): Don't use AC_PROG_CC twice; only the first use expands to the
shell code that is wanted, which breaks 'configure' on non-Darwin
platforms.  Instead, fix CC by hand if it's not found.
ChangeLog
configure.ac